
#ifndef __CHANCE_H__
#define __CHANCE_H__

class Chance
{
public:
    Chance(double chance);
    bool operator ==(const Chance& ) const;
    Chance operator *(const Chance& ) const;
    Chance operator +(const Chance& ) const;
    Chance operator !() const;
    double getValue() const;
private:
    double chance_m;
};

#endif

